{?include file='./div/div_html_head_info.tpl'?}

{?config_load file="smarty_vars.conf"?}

<body>

{?include file=#div_path#|cat:'div_pre_header.tpl'?}

<div class="container">

{?include file=#div_path#|cat:'div_header.tpl'?}

{?include file=#div_path#|cat:'div_nav.tpl'?}


<div class="span-16">

<!---用户交流牢骚的模块-->
<div id="complaint">

<!--用户提交新的牢骚内容-->
<div id="complaint_input">
<form action="./do_post_new_complaint.php" method="post">
	<lable for="content"><b>我说:</b><span class="word_count right">(还能说140个字)</span></lable><br />
	<textarea name="content" rows="3"></textarea><br />
	<input type="submit" class="right"  value="推他"/>
</form>
</div>

<!--以往的抱怨及其回复-->
<div id="past_complaint">

<!--读取用户信息-->
{?if $complaints|@is_array?}
	{?foreach key=key item=complaint from=$complaints?}
	 
	<!--显示的一条过去的牢骚信息-->
	<div class="complaint_record">
		 <!---用户头像-->
		<div class="head_img left">
			<img src="{?$user_info.head_url_small?}" />
		</div>
		<!--作者昵称及内容-->
		<div>
		<span class="author">
			<a href="#">{?$user_info.nick?}</a>
		</span>
			<span class="content">{?$complaint.content?}</span>
		</div>
		<!--其他信息及回复-->
		<p class="stamp">
			<span class="time">{?$complaint.time?}</span>
			<span class="method">{?$complaint.method?}</span>
			<span class="reply"><a href="#">回应这条消息</a> (已有3条回应)</span>
		</p>
	</div>
	 	 
	{?/foreach?}
{?/if?}

</div>

</div>


</div>

{?include file=#div_path#|cat:'div_footer.tpl'?}

</div>
</body>
</html>

